using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace  HsVoice
{
    public class HsReqBuilder 
    {
        static public HsSynthRequest BuildSynthRequest(string content,EVoice voice,EEmotion emotion,ELanguage lan )
        {
            App app = new App();
            User user = new User();
            Audio audio = new Audio() {  voice_type = voice.ToString(), emotion = emotion.ToString(),language = lan.ToString()};
            Request request = new Request() { text = content };
            return new HsSynthRequest(app, user, audio, request);
        }
    }
    
}
